I have installed mongodb 4.2 on my Windows 10 PC. It is installed in C:\Program Files\MongoDB\Server\4.2. It seems the dbpath
which is the database location is by default at data
folder. I would like to change dbpath
to C:\Users\xx\Dropbox\mongodb_data
. How can this be done on Windows 10? The information found on the net are for linux machines.